package day14;

public class Algorithm02 {
    public static void main(String[] args) {
        System.out.println(getMul(5));
    }
    private static int getMul(int num){
        if(num==1){return 1;}
        else return num*getMul(num-1);
    }
}
